(function () {
    "use strict";

    angular
        .module("common.services")
        .factory("testResource",
        [
            "$resource",
            "appSettings",
            testResource
        ]);

    function testResource($resource, appSettings) {
        return $resource(appSettings.serverPath + "/api/tests/:id");
    }
}());

